Groundhogg\Preferences A

Total Complexity 70
Dependencies 5
Dependents 33
Total lines 487
Lines of code 255
Logical lines of code 141
Comment lines 149
Methods 22
Properties 0

Methods 22

Method Rating Maintainability Complexity Lines of code
get_optin_status_text()
B
43 17 46
is_marketable()
B
45 17 40
current_contact_can_modify_preferences()
S
56 4 18
template_include()
S
59 4 15
string_to_preference()
S
49 2 33
soft_bounced()
S
57 3 16
is_in_grace_period()
S
60 3 13
sanitize()
S
77 3 3
set_temp_preferences_permissions_cookie()
S
63 2 10
get_grace_period_cutoff_date()
S
66 2 8
is_gdpr_strict()
S
79 2 3
get_preference_names()
S
59 1 13
get_grace_period()
S
79 1 3
bounced()
S
74 1 4
complained()
S
74 1 4
__construct()
S
72 1 5
is_confirmation_strict()
S
80 1 3
is_gdpr_enabled()
S
80 1 3
get_preference_pretty_name()
S
78 1 3
add_query_vars()
S
74 1 5
add_rewrite_rules()
S
75 1 4
is_valid()
S
78 1 3